<template>
    <div>
        master
        {{isDisable}}
        <button @click="btn">{{isDisable?'不':''}}禁用</button>
        <el-button type="primary" v-isDisable="isDisable">哈哈哈</el-button>
    </div>
</template>

<script>
export default {
    data () {
        return {
            isDisable: true,
        };
    },
    methods: {
        btn () {
            this.isDisable = !this.isDisable;
        }
    }
}
</script>